From ee9ac8ad85761399b1cdaf71cd4d2dd4c582f0af Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 10 Sep 2002 01:23:57 +0000 Subject: [PATCH] (do-auto-fill): `fill-indent-according-to-mode' is a variable, not a function. --- lisp/simple.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index 6d1dbe1db7c..99cf8d8af63 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3084,7 +3084,7 @@ Setting this variable automatically makes it local to the current buffer.") (save-excursion (forward-paragraph 1) (point))))) (and prefix (not (equal prefix "")) ;; Use auto-indentation rather than a guessed empty prefix. - (not (and (fill-indent-according-to-mode) + (not (and fill-indent-according-to-mode (string-match "\\`[ \t]*\\'" prefix))) (setq fill-prefix prefix)))) -- 2.30.2